<!--
 * @Date: 2024-07-09 16:02:51
 * @LastEditTime: 2024-07-11 10:27:59
 * @FilePath: \qiankunMonorepo\packages\realtime\src\views\syncTask\components\dialogtemplate.vue
-->
<template>
    <a-modal :open="open" :title="$t('test.objectmigration.components.dialogtemplate.title_bmcsr')" >
       <template #footer>
         <a-button key="back" @click="close">{{ $t('test.objectmigration.components.dialogtemplate.text_qx') }}</a-button>
         <a-button key="submit" type="primary" @click="save">{{ $t('test.objectmigration.components.dialogtemplate.text_qd') }}</a-button>
       </template>
         <a-card>
            dialog弹窗页面，直接复制使用
         </a-card>
       </a-modal>
   </template>
   
   <script setup>
   import { reactive, ref, watch,defineProps,defineEmits,defineExpose} from "vue";
   const props = defineProps({
     open: {
       type: Boolean,
       required: true,
       default: false,
     },
   });


    const emit = defineEmits(['close','save'])
    const close = () => {
     emit('close')
   }
   const save = () => {
    emit('save')
     
   }
   defineExpose({

   })
   </script>
   
   <style scoped lang="scss">
   </style>